﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;


public class UserBLL
{
    UserDAL userDAL;
    public UserBLL() { userDAL = new UserDAL(); }

    public bool CheckLogin(User user)
    {
        if (user != null)
        {
            return userDAL.CheckLogin(user) ? true : false;
        }
        return false;
    }

    public DataTable Users()
    {
        return userDAL.Users();
    }
}